import { IPSMarkdown } from './ipsmarkdown';
import { PSTextEditorImpl } from './pstext-editor-impl';

export class PSMarkdownImpl extends PSTextEditorImpl implements IPSMarkdown {
  get mode(): string {
    return this.M.mode;
  }

  get cls(): string {
    return 'PSMarkdownImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'control.editor.IPSMarkdown') return true;
    return super.instanceof(cls);
  }
}
